package com.wondertek.service.service.business;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wondertek.service.dto.business.req.AlarmNoticeSettingAddReq;
import com.wondertek.service.dto.business.req.AlarmNoticeSettingQueryReq;
import com.wondertek.service.dto.business.req.AlarmNoticeSettingUpdateReq;
import com.wondertek.service.entity.business.AlarmNoticeSettingPo;

/**
 * @author wangyu
 */
public interface IAlarmNoticeSettingService extends IService<AlarmNoticeSettingPo> {


    /**
     * 分页查询报警通知设置
     *
     * @param alarmNoticeSettingQueryReq
     * @return
     */
    Page<AlarmNoticeSettingPo> page(AlarmNoticeSettingQueryReq alarmNoticeSettingQueryReq);

    /**
     * 新增报警通知设置
     *
     * @param alarmNoticeSettingAddReq
     */
    void add(AlarmNoticeSettingAddReq alarmNoticeSettingAddReq);

    /**
     * 修改报警通知设置
     *
     * @param alarmNoticeSettingUpdateReq
     */
    void updateSysJob(AlarmNoticeSettingUpdateReq alarmNoticeSettingUpdateReq);


    /**
     * 发送短信和语音通知
     *
     * @param deviceId
     * @param content
     */
    void sendSmsAndSendVoice(String deviceId, String content);
}
